package com.watereast;

import com.alibaba.fastjson.JSONObject;

public class StringToJson {
    public static void main(String[] args) {
        String string1 = "{id:1, name:'Java', author:'Pearson'}";
        JSONObject json = JSONObject.parseObject(string1);
    }
}
